
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Helper classes and methods make it easier for developers to implement the idle-until-urgent pattern and leverage the requestIdleCallback()
API.
You can install this library from npm by running:
npm install idlize
This library is a collection of helper methods and classes (not a single bundle). As such, each helper should be imported separately. All public helpers are released at the level of the project, so they can be imported by directly referencing the helper's .mjs
file.
import {defineIdleProperty} from 'idlize/defineIdleProperty.mjs'
import {defineIdleProperties} from 'idlize/defineIdleProperties.mjs'
import {cIC, rIC} from 'idlize/idle-callback-polyfills.mjs'
import {IdleQueue} from 'idlize/IdleQueue.mjs'
import {IdleValue} from 'idlize/IdleValue.mjs'
Refer to each helper's documentation for examples and API usage details:
defineIdleProperty.mjs
defineIdleProperties.mjs
idle-callback-polyfills.mjs
IdleQueue.mjs
IdleValue.mjs
![]() ✔ |
![]() ✔ |
![]() ✔ |
![]() ✔ |
![]() 9+ |
![]() ✔ |
This code has been tested and known to work in all major browsers as well as Internet Explorer back to version 9.
0.1.1 (2018-10-23)
IdleDealine
typo (#13)FAQs
Helper classes and methods for implementing the idle-until-urgent pattern
The npm package idlize receives a total of 11,013 weekly downloads. As such, idlize popularity was classified as popular.
We found that idlize demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.